{extend name="web/official_common/mobile/base" /}

{block name="content"}

<!--主体内容 开始-->
<div class="article">
    <!--右侧区域 开始-->
    <div id="right">
        <div class="right_title">
            <h2 class="right_title_2">
                <img src="__ADDON__/images/titleleftbg.png" align="absmiddle">{:ze($res,'name')}
                <img src="__ADDON__/images/titlerightbg.png" align="absmiddle">
            </h2>
        </div>
        <div id="subchannel_main">
            <div id="subchannel">
                <ul class="subchannellist">
                    {foreach $res['son'] as $item}
                    <li class="depth1" {if $item['is_choose']} id="current" {/if}>
                        <a href="{:get_cate_url($item)}" class="current_a">{:ze($item,'name')}</a>
                    </li>
                    {/foreach}
                </ul>
            </div>
        </div>
        <div class="right_body minwidth">
            <ul class="thumblist">



                <!--循环开始-->
                <li class="journalism_box">
                    {foreach $data as $index => $val}
                    <a class="journalism_list" href="{:addon_url('official/web.official_journalism/details',[':pid'=>(int)input('param.pid'),':sid'=>(int)input('param.sid'),':id'=>$item['id']])}">
                        <div class="InfoPicture" href="" target="_blank" title="{$val['title']}">
                            <img class="InfoPicture_img" src="{$val['image']}">
                            <span class="InfoTime">{:date('Y-m-d H:i',$val['createtime'])}</span>
                        </div>
                        <div class="InfoWrap">
                            <span class="InfoTitle">{$val['title']}</span>
                            <p class="InfoTitleP">{$val['subheading']}</p>
                        </div>
                    </a>
                    {/foreach}
                </li>
                <!--循环结束-->
            </ul>

            <div class="page_custom">
                <div class="page_son">
                    {$data->render(['pid'=>(int)input('param.pid'),'sid'=>(int)input('param.sid')])}
                </div>
            </div>
        </div>
        <div class="right_bottom"></div>
    </div>
    <!--右侧区域 结束-->
    <div class="clear"></div>
</div>
<!--主体内容 结束-->

{/block}